package chaoyue.study.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.List;

@Document(collection = "test_collection")
@Data
public class TestData implements Serializable {
    @Id
    private String id;

    private String appNo;

    private List<TestDetailData> detailList;
}
